<div class="act">
	<? $this->widget('zii.widgets.CBreadcrumbs', array(
		'links'=>$this->bread,
		'htmlOptions'=>array('class'=>'act_str'),
		'separator'=>' &gt; '
	)); ?>
	<div class="act_title"><?=$title?></div>
	<div class="photo_body">
		<? foreach($albums as $album): ?>
			<?if(!$album->galleryImgs)continue?>
		    <div class="photo_g">
				<div class="photo_f"><a href="<?= CHtml::normalizeUrl(array('site/album', 'id'=>$album->id)) ?>"><img src="<?=$album->galleryImgs[0]->img?>"></a></div>
				<div class="photo_t"><a href="<?= CHtml::normalizeUrl(array('site/album', 'id'=>$album->id)) ?>"><?=$album->title?></a><span><?=count($album->galleryImgs)?> фотографий</span></div>
				<div class="photo_d"><?= Yii::app()->dateFormatter->format('d MMMM yyyy', $album->date); ?></div>
			</div>
		<? endforeach; ?>
		<div class="clear"></div>
		<div class="video_nav">
			<?$this->widget('CLinkPager', array(
				'header' => '',
				'firstPageLabel' => '<<',
				'prevPageLabel' => '<',
				'nextPageLabel' => '>',
				'lastPageLabel' => '>>',
				'pages' => $pages, // модель пагинации переданная во View
				'cssFile'=> false,
			));?>
		</div>

	</div>
	<!--/Акции--->
</div>